package com.wunong.smart.commission.domain.service;

import com.wunong.smart.commission.application.request.support.CancelCommissionRequest;
import com.wunong.smart.commission.application.request.support.CreateCommissionRequest;
import com.wunong.smart.commission.application.request.support.FinishCommissionRequest;

/**
 * 代办领域服务
 *
 * @author create by zealot.zt
 */
public interface CommissionDomainService {

    /**
     * 创建代办
     *
     * @return
     */
    Long create(CreateCommissionRequest request);

    /**
     * 取消代办
     *
     * @return
     */
    Void cancel(CancelCommissionRequest request);

    /**
     * 结束代办
     *
     * @return
     */
    Void finish(FinishCommissionRequest request);

}
